﻿		<!--main-->
		<div class="container">
			<div class="row">												
				<div class="hy-cascade clearfix">
					<div class="left-head hidden-sm hidden-xs">
						<ul class="clearfix">						
							<li class="text"><span class="text-muted">选择频道</span></li>
							{feifeicms:type ids="1,2,3,4" order="asc" by="sort"}
							<li><a {if condition="($vo.type_id eq MAC_TYPE_ID || $vo.type_id eq MAC_TYPE_PID)"}class="active"{/if} href="{:ffcms_url_type($vo)}" title="{$vo.type_name}">{$vo.type_name}</a></li> 
							 {/feifeicms:type}						
						</ul>
					</div>									
					<div class="content-meun clearfix">
						<a class="head" href="javascript:;" data-toggle="collapse" data-target="#collapse">	
							<span class="text">
							</span>												
							<!--<span class="option hidden-xs"><a class="btn btn-sm btn-default reset" target="_self" href="/{feifeicms:sitepath}search.php?searchtype=5">重置条件 <i class="icon iconfont icon-setting font-size-12"></i></a></span>	-->							
						</a>
						<div class="item collapse" id="collapse">	
							<ul class="visible-sm visible-xs clearfix">						
								<li class="text"><span class="text-muted">按剧情</span></li>
								<li><a  class="active"  href="#" title="全部">全部</a></li> 
								 {empty name="$obj.type_extend.class"}
                    {feifeicms:foreach name=":explode(',',$obj.parent.type_extend.class)"}
                    <li><a href="{:ffcms_url_type($obj,['class'=>$vo],'show')}">{$vo}</a></li>
                    {/feifeicms:foreach}
                {else /}
                    {feifeicms:foreach name=":explode(',',$obj.type_extend.class)"}
                    <li><a href="{:ffcms_url_type($obj,['class'=>$vo],'show')}">{$vo}</a></li>
                    {/feifeicms:foreach}
                {/empty}				
							</ul>{if condition="($obj['type_id']==1) OR ($obj['parent']['type_id']==1)"}											
							<ul class="clearfix">
								<li class="text"><span class="text-muted">按分类</span></li>
								 <li><a href="#" class="active"  data="area-0">全部</a></li>
		{feifeicms:type ids="child" parent="1" by="sort" order="asc"}
                    <li><a href="{:ffcms_url_type($vo,[],'show')}">{$vo.type_name}</a></li>
                    {/feifeicms:type}
							</ul>	{elseif condition="($obj['type_id']==2) OR ($obj['parent']['type_id']==2)"}
							<ul class="clearfix">
								<li class="text"><span class="text-muted">按分类</span></li>
								 <li><a href="#" class="active"  data="area-0">全部</a></li>
		{feifeicms:type ids="child" parent="2" by="sort" order="asc"}
                    <li><a href="{:ffcms_url_type($vo,[],'show')}">{$vo.type_name}</a></li>
                    {/feifeicms:type}
							</ul>
							{/if}
							<ul class="clearfix">
								<li class="text"><span class="text-muted">按地区</span></li>
								 <li><a href="#" class="active"  data="area-0">全部</a></li>
		 {empty name="$obj.type_extend.area"}
                    {feifeicms:foreach name=":explode(',',$obj.parent.type_extend.area)"}
                    <li><a href="{:ffcms_url_type($obj,['class'=>$vo],'show')}">{$vo}</a></li>
                    {/feifeicms:foreach}
                {else /}
                    {feifeicms:foreach name=":explode(',',$obj.type_extend.area)"}
                    <li><a href="{:ffcms_url_type($obj,['area'=>$vo],'show')}">{$vo}</a></li>
                    {/feifeicms:foreach}
                {/empty}
							</ul>						
							<ul class="clearfix">
								<li class="text"><span class="text-muted">按年份</span></li>
								<li><a href="#" {if-A:"{page:year}"=""} class="active" {endif-A} data="year-0">全部</a></li>
		 {empty name="$obj.type_extend.year"}
                    {feifeicms:foreach name=":explode(',',$obj.parent.type_extend.year)"}
                    <li><a href="{:ffcms_url_type($obj,['class'=>$vo],'show')}">{$vo}</a></li>
                    {/feifeicms:foreach}
                {else /}
                    {feifeicms:foreach name=":explode(',',$obj.type_extend.year)"}
                    <li><a href="{:ffcms_url_type($obj,['year'=>$vo],'show')}">{$vo}</a></li>
                    {/feifeicms:foreach}
                {/empty}
							</ul>										
						</div>					
					</div>
				</div>																		
				<div class="hy-layout clearfix" style="margin-top: 0;">	
					<div class="hy-switch-tabs active clearfix">
						<span class="text-muted pull-right hidden-xs">共有<span class="text-color">“{:ffcms_data_count(1,'all')}”</span>个影片</span>							
						<ul class="nav nav-tabs">
							<li><a href="{:ffcms_url_type($obj,['area'=>$param['area'],'lang'=>$param['lang'],'year'=>$param['year'],'level'=>$param['level'],'letter'=>$param['letter'],'state'=>$param['state'],'tag'=>$param['tag'],'class'=>$param['class'],'order'=>$param['order'],'by'=>'time' ],'show')}" class="order {if condition="$param.by eq '' || $param.by eq 'time'"}current{/if}">按时间</a></li>
							<li><a href="{:ffcms_url_type($obj,['area'=>$param['area'],'lang'=>$param['lang'],'year'=>$param['year'],'level'=>$param['level'],'letter'=>$param['letter'],'state'=>$param['state'],'tag'=>$param['tag'],'class'=>$param['class'],'order'=>$param['order'],'by'=>'hits' ],'show')}" class="order {if condition="$param.by eq 'hits'"}current{/if}">按人气</a></li>
							<li> <a href="{:ffcms_url_type($obj,['area'=>$param['area'],'lang'=>$param['lang'],'year'=>$param['year'],'level'=>$param['level'],'letter'=>$param['letter'],'state'=>$param['state'],'tag'=>$param['tag'],'class'=>$param['class'],'order'=>$param['order'],'by'=>'score' ],'show')}" class="order {if condition="$param.by eq 'score'"}current{/if}">按评分</a></li>
							<!--<li class="{if-A:{searchpage:ordername}==score}active{endif-A}"><a href="{searchpage:order-score-link}" title="按评分">按评分</a></li>	
							<li class="{if-A:{searchpage:ordername}==random}active{endif-A}"><a href="{searchpage:order-random-link}" title="按随机">按随机</a></li>-->
						</ul>						
					</div>													
					<div class="hy-video-list">
						<div class="item">
							<ul class="clearfix">	
								{feifeicms:vod num="36" paging="yes" type="current" order="desc" by="time"}
								<li class="col-md-2 col-sm-3 col-xs-4">
									<a class="videopic lazy" href="{:ffcms_url_vod_detail($vo)}" title="{$vo.vod_name}" data-original="{:ffcms_url_img($vo.vod_pic)}" style="background: url({:ffcms_url_img($vo.vod_pic)}) no-repeat; background-position:50% 50%; background-size: cover;" >								
										<span class="play hidden-xs"></span>										
										<span class="score">{$vo.vod_hits}</span>
									</a>
									<div class="title">
										<h5 class="text-overflow" title="{$vo.vod_name}"><a href="{:ffcms_url_vod_detail($vo)}">{$vo.vod_name}</a></h5>
									</div>
									<div class="subtitle text-muted text-overflow hidden-xs">
										主演：{$vo.vod_actor}
									</div>	
								</li>																		
								{/feifeicms:vod}																												    
							</ul>
						</div>
					</div>	
					<div class="hy-page clearfix">
						<ul class="cleafix">
							{include file="public/paging"}					
						</ul>					
					</div>					
				</div>
			</div>
		</div>
		<script type="text/javascript">
			var w = document.documentElement ? document.documentElement.clientWidth : document.body.clientWidth;
			if (w > 640) {			
	            $(".collapse").addClass("in");
	        }				
		</script>
